castScreen

Starts casting screen's content by selecting the screen in the picker dialog.

Returns a new CompletableFuture that is completed when the cast session has been started. If the cast session has not been started, the future is completed with CastSessionStartFailedException. If the browser is closed during the casting start, the future will be canceled.

The receiver should support the SCREEN cast mode.

Since

7.29

See also

Throws

if the browser is closed


Starts casting the screen's content to the media receiver.

Returns a new CompletableFuture that is completed when the cast session has been started. If the cast session has not been started, the future is completed with CastSessionStartFailedException. If the browser is closed during the casting start, the future will be canceled.

The receiver should support the SCREEN cast mode.

Since

7.29

See also

Throws

if the browser is closed